<%
	require "luci.util"
	local sms = luci.util.exec("sms_tool recv")
	local signal_strength = luci.util.exec("sms_tool status")
-%>

<%+header%>
<h2><a id="content" name="content"><%:SMS%></a></h2>
Signal : <%=signal_strength:pcdata()%></br>
<div id="content_sms">
<textarea readonly="readonly" wrap="off" rows="<%=sms:cmatch("\n")+2%>" id="syslog"><%=sms:pcdata()%></textarea>
</div>
<%+footer%>

